Behavioral Polymorphism and Parametricity in Session-Based Communication
نویسندگان
چکیده
We investigate a notion of behavioral genericity in the context of session type disciplines. To this end, we develop a logically motivated theory of parametric polymorphism, reminiscent of the Girard-Reynolds polymorphic λcalculus, but casted in the setting of concurrent processes. In our theory, polymorphism accounts for the exchange of abstract communication protocols and dynamic instantiation of heterogeneous interfaces, as opposed to the exchange of data types and dynamic instantiation of individual message types. Our polymorphic session-typed process language satisfies strong forms of type preservation and global progress, is strongly normalizing, and enjoys a relational parametricity principle. Combined, our results confer strong correctness guarantees for communicating systems. In particular, parametricity is key to derive non-trivial results about internal protocol independence, a concurrent analogous of representation independence, and non-interference properties of modular, distributed systems.
منابع مشابه
Relational Parametricity for Polymorphic Session Types
We introduce a theory of polymorphic concurrent processes, which arises from an interpretation of second-order intuitionistic linear logic propositions as polymorphic session types, in the style of the Girard-Reynolds polymorphic λ-calculus. The interpretation naturally generalizes recent discoveries on the correspondence between linear logic propositions and session types. In our proposed theo...
متن کاملRelational Parametricity for Polymorphic Session Types (Extended Version)
We introduce a theory of polymorphic concurrent processes, which arises from an interpretation of second-order intuitionistic linear logic propositions as polymorphic session types, in the style of the Girard-Reynolds polymorphic λ-calculus. The interpretation naturally generalizes recent discoveries on the correspondence between linear logic propositions and session types. In our proposed theo...
متن کاملEffect of behavioral-communication couple therapy in dimensions of marital adjustment in infertile couples
There are different therapy approaches used by family therapy researchers over the years to evaluate their reliability and effect in couples. Bernstein's approach of behavioral-communication is one of these approaches. Accordingly, the current research aimed to survey the effectiveness of behavioral-communication couple therapy in improving dimensions of marital adjustment among infertile coupl...
متن کاملEffects of Communication Skills Training on Aggression and Quality of Life of Male Patients with Chronic Mental Illnesses
Background: Chronic mental illnesses affect cognitive status and behavior, which lead to social and communication impairment and behavioral problems. This research investigated the influence of communication skills training on aggression and quality of life of the patients with chronic mental illnesses. Methods: This study is a quasi-experimental study with pretest and posttest....
متن کاملRelating Cryptography and Polymorphism
Cryptography is information hiding. Polymorphism is also information hiding. So is cryptography polymorphic? Is polymorphism cryptographic? To investigate these questions, we define the cryptographic λ-calculus, a simply typed λcalculus with shared-key cryptographic primitives. Although this calculus is simply typed, it is powerful enough to encode recursive functions, recursive types, and dyna...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013